<?php
$is_indo = lang() == "id";
$this->pageTitle=Yii::app()->name . ' - '.$is_indo ? "Agenda Acara" : "Event Schedule";
$this->judul_hal = $is_indo ? "Agenda Acara" : "Event Schedule";
cs()->registerCssFile(bu() . '/css/jquery.mCustomScrollbar.css');
cs()->registerScriptFile(bu() . '/plugins/jquery-ui-1.9.1.custom.min.js', CClientScript::POS_BEGIN);
cs()->registerScriptFile(bu() . '/plugins/jquery.mousewheel.min.js', CClientScript::POS_BEGIN);
cs()->registerScriptFile(bu() . '/plugins/jquery.mCustomScrollbar.js', CClientScript::POS_BEGIN);
$is_indo = lang() == "id";
?>
<script>
    (function ($) {
        $(window).load(function () {
            /* custom scrollbar fn call */
            $(".content_2").mCustomScrollbar({
                scrollInertia:0
            });
        });
    })(jQuery);
</script>
<div style="position:relative;padding: 10px">
    <div style="position:absolute;right:25px;top:5px" ><a href="<?=url('agenda/index')?>"><img src="<?=bu();?>/img/back-icon.png" border="0" alt="back" title="back" style="cursor: pointer;"/></a></div>
    <div  class="judul_news"><?=ucwords($is_indo ? $model->nama : $model->name_)?></div>
    <div class="tgl_news"><?=sql2date($model['tgl_mulai'], 'dd MMMM yyyy')?> - <?=sql2date($model['tgl_selesai'],
        'dd MMMM yyyy')?></div>
    <div class="content_2 content isi">
        <?php echo $is_indo ? $model->keterangan : $model->content; ?>
    </div>
</div>
